An Interactive Interface for Refactoring Using Source Transformation

نویسندگان

  • Scott Grant
  • James R. Cordy
چکیده

In this paper we present RUST, an environment that assists the programmer in locating potential code improvements by searching for a set of predetermined patterns, identifying these areas as code smells, and providing a means to automatically implement refactorings. Results and changes are presented using an interface that allows the user to examine the affected code, try out and see the results of applying potential refactorings, and accept or back out of changes after performing them. This reversible system allows for interactive programmer-driven modifications to the source code in which programmers can test out refactorings before committing to them.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Low Fidelity User Interface Prototypes as Agile Refactoring Tools

Agile development relies on refactoring and iterations to continually refine working code to meet requirements. The goal of refactoring is to produce code which is easy to understand and maintain. Refactoring user interface (UI) code is subject to ordinary refactorings plus others specific to this area. Even as refactoring tools grow more powerful, most programmers do not fully take advantage o...

متن کامل

Automated refactoring of super-class method invocations to the Template Method design pattern

Context: Implementation inheritance, i.e., overriding of concrete method implementations through subtyping, is prone to potential class contract violations. Call Super is a code pattern that employs implementation inheritance for extending a method’s behaviour. In Call Super the overriding method includes in its body an invocation to the overridden method. Template Method is a design pattern th...

متن کامل

Scrap Your Reprinter

Refactoring tools are extremely useful in software development: they provide automatic source code transformation tools for a variety of laborious tasks like renaming, formatting, standardisation, modernisation, and modularisation. A refactoring tool transforms part of a code base and leaves everything else untouched, including secondary notation like whitespace and comments. We describe a nove...

متن کامل

Generic and Domain-Specific Model Refactoring using a Model Transformation Engine

Refactoring is an essential approach toward improving the internal structure of a software system while preserving its external behavior. Traditional refactoring techniques have focused on the implementation stage, with source code as the primary artifact of the refactoring process. However, a recent trend is to apply the concepts of refactoring to higher levels of abstraction. Consequently, mo...

متن کامل

Model Refactoring with an Aspect-Oriented Model Transformation Engine

Refactoring is an essential approach toward improving the internal structure of a software system while preserving its external behavior. Traditional refactoring techniques have focused on the implementation stage, with source code as the primary artifact of the refactoring process. However, a recent trend is to apply the concepts of refactoring to higher levels of abstraction. Consequently, mo...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003